package cn.tedu.spring.day02;
public class Demo1 {
    Person person1;
    Person person;

    public Person getPerson1() {
        return person1;
    }

    public void setPerson1(Person person1) {
        this.person1 = person1;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    @Override
    public String toString() {
        return "AjimuYasuko作业二输出结果:" +'\n'+
                "{person1=" + person1 +
                ", person=" + person +
                '}';
    }
}
